﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TbShop
{
    public partial class Constants
    {
        public class MessageType
        {
            public const string Success = "success";
            public const string Alert = "alert";
            public const string Error = "error";
            public const string Warning = "warning";
            public const string Information = "information";
            public const string Confirmation = "confirmation";
        }

        /// <summary>
        /// 系统常量
        /// </summary>
        public class SystemParameterKeys
        {

            /// <summary>
            /// 平台管理员角色编号
            /// </summary>
            public const string AdminsitratorId = "56e3b3be-ef75-4d3e-a86d-84721931eda0";

            public const string AdministratorDefaultPageSize = "AdministratorDefaultPageSize";
            public const string AdministratorDefaultPassword = "AdministratorDefaultPassword";
            public const string CustomerDefaultPassword = "CustomerDefaultPassword";

            public const string AdministratorLockHours = "AdministratorLockHours";
            public const string AdministratorLockMinutes = "AdministratorLockMinutes";

            public const string AliSmsApiKey = "AliSmsApiKey";
            public const string AliSmsApiSecret = "AliSmsApiSecret";
            public const string AliSmsSignName = "AliSmsSignName";

        }

        public class AuthorityIdentity
        {
            #region 系统管理员
            /// <summary>
            /// 系统管理员
            /// </summary>
            public const string SystemManage = "SystemManage";
            #endregion
            #region 管理员管理
            /// <summary>
            /// 管理员管理
            /// </summary>
            public const string AdministratorManage = "AdministratorManage";
            /// <summary>
            /// 添加管理员
            /// </summary>
            public const string AddAdministrator = "AddAdministrator";
            /// <summary>
            /// 修改管理员
            /// </summary>
            public const string EditAdministrator = "EditAdministrator";
            /// <summary>
            /// 删除管理员
            /// </summary>
            public const string DeleteAdministrator = "DeleteAdministrator";
            /// <summary>
            /// 重置密码
            /// </summary>
            public const string ResetAdminPwd = "ResetAdminPwd";
            #endregion
            #region 角色
            /// <summary>
            /// 角色管理
            /// </summary>
            public const string RoleManage = "RoleManage";
            /// <summary>
            /// 添加角色
            /// </summary>
            public const string AddRole = "AddRole";
            /// <summary>
            /// 修改角色
            /// </summary>
            public const string EditRole = "EditRole";
            /// <summary>
            /// 删除角色
            /// </summary>
            public const string DeleteRole = "DeleteRole";
            ///<summary>
            ///设置权限
            ///</summary>
            public const string RoleAuthority = "RoleAuthority";
            #endregion
            #region 日志管理
            /// <summary>
            /// 日志管理
            /// </summary>
            public const string LogManage = "LogManage";
            /// <summary>
            /// 清空日志
            /// </summary>
            public const string DeleteOperationLog = "DeleteOperationLog";
            #endregion
        }

        /// <summary>
        /// CodeTable的Category
        /// </summary>
        public class CodeCategories
        {
            #region haitao
            public const string Unit = "Unit";
            public const string OperationType = "OperationType";
            public const string GenderCode = "GenderCode";
            public const string BannerCategory = "BannerCategory";
            public const string SystemMessageType = "SystemMessageType";

            #endregion

            #region jinli
            #endregion

            #region jinting
            #endregion
        }


        #region haitao


        /// <summary>
        /// 操作行为
        /// </summary>
        public class OperationType
        {
            public const string Add = "Add";
            public const string Edit = "Edit";
            public const string Delete = "Delete";
        }

        /// <summary>
        /// 性别
        /// </summary>
        public class GenderCode
        {
            public const string Male = "Male";

            public const string Female = "Female";
        }

        #endregion

        #region jinli
        /// <summary>
        /// banner位置
        /// </summary>
        public class BannerCategory
        {
            /// <summary>
            /// 首页
            /// </summary>
            public const string Home = "Home";
            /// <summary>
            /// 莲位
            /// </summary>
            public const string Tombstone = "Tombstone";
            /// <summary>
            /// 祭祀礼仪
            /// </summary>
            public const string Active = "Active";
            /// <summary>
            /// 纪念品
            /// </summary>
            public const string Keepsake = "Keepsake";
        }
        #endregion

        #region runhua

        #endregion
    }
}